package cn.bupt.adt.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.AdminUser;
import cn.bupt.adt.entity.autogenerate.AdminUserExample;
import cn.bupt.adt.model.AdminUserModel;

@Service
public interface LoginService {
	public AdminUser getUserByName(String name) ;
	
	public void saveLastLoginInTme(AdminUser user);
	
	public AdminUserModel getUserByPasswd(String passwd);

	List<AdminUser> getUserByUserExample(AdminUserExample UserExample);

	public AdminUser getUserById(Integer userId);
}
